import utility

class CommitteeEntity(object):
    def __init__(self,name,chair,chairName=None):
        self.__name = name
        self.__chair = chair
        self.__chairName = chairName
        
    ColumnNames = utility.Enum(
        name = "Name",
        chair = "Chair",
        chairName = "ChairName"
        )

    def __get_name(self):
        return self.__name
    def __set_name(self, value):
        self.__name = value
    Name = property(fget=__get_name, fset=__set_name)


    def __get_chair(self):
        return self.__chair
    def __set_chair(self, value):
        self.__chair = value
    Chair = property(fget=__get_chair, fset=__set_chair)


    def __get_chairName(self):
        return self.__chairName
    def __set_chairName(self, value):
        self.__chairName = value
    ChairName = property(fget=__get_chairName, fset=__set_chairName)
